package com.download.web.controller;

import com.download.web.entity.BusFriendLink;
import com.download.web.entity.model.Page;
import com.download.web.entity.model.Result;
import com.download.web.service.IBusFriendLinkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/download/friendLink")
public class FriendLinkController {
    @Autowired
    private IBusFriendLinkService friendLinkService;

    @ResponseBody
    @RequestMapping("/friendLinkList")
    public Result friendLinkList(){
        return Result.ok(friendLinkService.list());
    }

}
